﻿
namespace IS_Ever_Green.DataAccess.Model.Repositories
{
    public interface IUserRepository
    {
        public void RegisterUser(UserModel user);
        public bool UserExists(string login);

        public UserModel AuthenticateUser(string login, string password);
        public string GetUserRole(UserModel user);

        public List<UserModel> GetEmployeesWithRole(string roleName);

        public void SaveUserProfile(UserModel user, byte[] photo);

        public void EditUser(UserModel user);
        public bool RecoveryPassword(string login, string email, string password);
        public void DeleteUser(UserModel user);

    }
}
